<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
	<head>
		<base href="<%=basePath%>">

		<title>系统功能列表</title>
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>jslib/bootstrap/css/bootstrap.css">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>css/theme.css">
		<link rel="stylesheet"
			href="<%=basePath%>jslib/font-awesome/css/font-awesome.css">
		<script src="<%=basePath%>jslib/jquery-1.7.2.min.js"
			type="text/javascript"></script>
	</head>

	<body class="content1">
		<div class="header">
			<h1 class="page-title">
				个人信息
			</h1>			
				<a href="<%=basePath%>product/list">返回主界面</a>	
		</div>
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="well">
					<table class="table">
						<thead>
							<tr>
								<th>
									用户名称
								</th>
								<th>
									用户密码
								</th>
								<th>
									用户真实名称
								</th>
								<th>
									用户电话
								</th>
<!-- 								<th> -->
<!-- 									用户服务人员 -->
<!-- 								</th> -->
<!-- 								<th> -->
<!-- 									用户类型 -->
<!-- 								</th> -->
<!-- 								<th> -->
<!-- 									用户状态 -->
<!-- 								</th> -->
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${pi}" var="item">
								<tr>
									<td>
										${item.accountname}
									</td>
									<td>
										${item.accountpassword}
									</td>
									<td>
										${item.accountrname}
									</td>
									<td>
										${item.accountphone}
									</td>
<!-- 									<td> -->
<%-- 										${item.accountservice} --%>
<!-- 									</td> -->
<!-- 									<td> -->
<%-- 										${item.accounttype} --%>
<!-- 									</td> -->
<!-- 									<td> -->
<%-- 										<c:choose> --%>
<%-- 											<c:when test="${item.accountstate==\"1\"}"> --%>
<!-- 												正常		 -->
<%-- 											</c:when> --%>
<%-- 											<c:otherwise>锁定</c:otherwise> --%>
<%-- 										</c:choose> --%>
<!-- 									</td> -->
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>  
			</div>
		</div>
	</body>
</html>
